.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 20px;
  background-color: #f0f0f0;
}

header {
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 20px 0;
}

.control-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  padding: 4px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.time-controls {
  display: flex;
  gap: 2px;
}

.time-controls button {
  padding: 4px 8px;
  border: none;
  background: none;
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px;
  color: #666;
}

.time-controls button.active {
  background-color: #1890ff;
  color: white;
}

.time-controls button:hover:not(.active) {
  background-color: #f5f5f5;
}

.playback-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  padding: 4px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  margin-bottom: 10px;
}

.playback-controls button {
  padding: 4px 8px;
  border: none;
  border-radius: 3px;
  background-color: #f5f5f5;
  color: #333;
  cursor: pointer;
  font-size: 12px;
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playback-controls button:hover:not(:disabled) {
  background-color: #e0e0e0;
}

.playback-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.speed-control {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  padding-left: 4px;
  border-left: 1px solid #eee;
}

.speed-control input[type="range"] {
  width: 50px;
  height: 4px;
}

.speed-control span {
  font-size: 12px;
  color: #666;
  min-width: 20px;
}

.map-container {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 20px;
}

.info-panel {
  background-color: white;
  padding: 15px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.current-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.current-info p {
  margin: 5px 0;
}

@media (max-width: 480px) {
  .app {
    padding: 10px;
  }

  h1 {
    font-size: 16px;
    margin: 0 0 10px 0;
  }

  .control-bar {
    padding: 3px;
    gap: 4px;
  }

  .time-controls button {
    padding: 3px 6px;
    font-size: 11px;
  }

  .playback-controls {
    padding: 3px;
    gap: 3px;
  }

  .playback-controls button {
    padding: 3px 6px;
    min-width: 22px;
    height: 22px;
  }

  .speed-control {
    margin-left: 3px;
    padding-left: 3px;
  }

  .speed-control input[type="range"] {
    width: 40px;
  }

  .speed-control span {
    min-width: 16px;
  }
} 